//package com.gzu.shop.controller;
//
//import com.gzu.shop.recommend.FlaskClient;
//import io.swagger.v3.oas.annotations.tags.Tag;
//import jakarta.annotation.Resource;
//import jakarta.annotation.Resources;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RestController;
//@Tag(name = "推荐系统")
//@RestController
//public class PythonController {
//
////    @Resource
////    private FlaskClient flaskClient;
////
////    @PostMapping("/predict")
////    public String predict(@RequestBody String requestBody) {
////        // 向Flask应用发起预测请求
////        return flaskClient.predict(requestBody);
////    }
//
//}
//
//
